package com.king.factory.abstractFac;

public class XiaomiFactory implements Factory {
    @Override
    public IRouterProduct router() {
        return new XiaomiRouter();
    }

    @Override
    public IPhoneProduct phone() {
        return new XiaomiPhone();
    }
}
